#include <iostream>
using namespace std;

int main()
{
	//16位无符号表示的范围0-65535
	unsigned short uShortValue = 65535;
	cout << "unsigned short 65535 + 1 = ";
	cout << ++uShortValue << endl;

	//16位有符号表示的范围-32768到32767
	short signedShort = 32767;
	cout << "signed short 32767 + 1 = ";
	cout << ++signedShort << endl;

	return 0;
}